<?php
include("admin/sesiune.php");
$com_id = $_POST['com_id'];
$deleteQuery= "DELETE FROM comenzi WHERE com_id = $com_id";
$delProd = mysql_query($deleteQuery, getConnection()) or die (mysql_error());
header("Location: ".$_SERVER["HTTP_REFERER"]);
?>